package com.gxa.entity.discrepancy;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjl
 * @since 2022-10-12 11:37:05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_device")
@ApiModel(value = "Device对象", description = "")
public class Device implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("设备id ")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("设备名字")
    @TableField("device_name")
    private String deviceName;

    @ApiModelProperty("今日通过的总人数 ")
    @TableField("person_pass_num")
    private Integer personPassNum;

    @ApiModelProperty("今日二维码通过的人数 ")
    @TableField("code_pass_num")
    private Integer codePassNum;

    @ApiModelProperty("今日刷脸通过的人数 ")
    @TableField("face_pass_num")
    private Integer facePassNum;

    @ApiModelProperty("今日刷卡通过的人数 ")
    @TableField("card_pass_num")
    private Integer cardPassNum;

    @ApiModelProperty("已授权人数 ")
    @TableField("atuh_person_num")
    private Integer atuhPersonNum;

    @ApiModelProperty("当前闸机状态 0-运行  1-设备离线 ")
    @TableField("device_status")
    private Integer deviceStatus;

    @TableLogic
    @TableField("is_delete")
    private Integer isDelete;

    @ApiModelProperty("设备编号 ")
    @TableField("device_num")
    private String deviceNum;

    @ApiModelProperty("设备型号 ")
    @TableField("device_type")
    private Integer deviceType;

    @ApiModelProperty("设备品牌")
    @TableField("brand")
    private Integer brand;

    @ApiModelProperty("设备位置 ")
    @TableField("location")
    private Integer location;


}
